package com.itheima.dubbo.interfaces;

import com.itheima.commons.model.mongo.Voice;

import java.util.List;

public interface TaohuaApi {


    /**
     * 接收语音
     *
     * @param userId
     * @return
     */
    List<Voice> queryVoiceById(Long userId);

    List<Voice> queryVoices();

    /**
     * 发送语音
     *
     * @param voice
     * @return
     */
    String saveVoice(Voice voice);


}
